home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / utility / pock51.zip / WHATARC.BAT < prev    next >
DOS Batch File  |  1997-07-26  |  942b  |  20 lines

  1. echo off
  2. if not "%1"=="" goto scan
  3. echo.
  4. echo WHATARC - Scanning contents of matching files to identify if archive
  5. echo USAGE: WHATARC opt1 opt2..
  6. echo Where "opt" can be a filespec or any option
  7. echo.
  8. echo e.g.  WHATARC *.*           Scan all files in current directory
  9. echo       WHATARC /T            Scan all files " "  " dated today
  10. echo       WHATARC /W}30k PR*    Scan whole drive for files gt 30k matching PR*
  11. echo.
  12. goto exit
  13. :scan
  14. D /'@x1A@x02'0sDf [---PKARC/SEA/PKPAK archives://(($T$w//][(No PKARC/SEA/PKPAK)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  15. D /'@x60@xEA@x28'0sDf [---ARJ archives://(($T$w//][(No ARJ)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  16. D /'@x50@x4B@x03@x04'0sDf [---PKZIP archives://(($T$w//][(No PKZIP)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  17. D /'-lh'2sDf [---LHA/LHARC archives://(($T$w//][(No LHA/LHARC)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  18. D /'ZOO'0sDf [---ZOO archives://(($T$w//][(No ZOO)//]J %1 %2 %3 %4 %5 %6 %7 %8 %9
  19. :exit
  20.